<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title><%=name%></title>
        <%- include('../layout/common-css.html');%>
        <link rel="stylesheet" type="text/css" href="/css/markdown.css">
    </head>
    <body>
        <%- include('../layout/header.html');%>
        <div style="margin: 2rem;"><a href="/rules/wiki/edit/<%=name%>" class="am-btn am-btn-primary am-btn-lg"><i class="am-icon-edit"></i>编辑</a></div>
        <h1 class="am-text-center"><%=name%></h1>
        <div class="markdown-body" style="margin: 3rem;">
          <%-content%>
        </div>
        <%- include('../layout/bottom-js.html');%>
</body>
</html>